<template>
	<div class="home">
		我是vuex：{{page.size}}
		<HelloWorld msg="Welcome to Your Vue.js App" />
	</div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";
export default {
	name: "Home",
	components: {
		HelloWorld,
	},
	computed:{
        //vuex
        page(){
            return this.$store.state.page;
        },
        
    },
};
</script>
